<div class="header">
  <div class="topinfo">
    <div class="header_inner">
      <ul class="topmenu">
        <li><s><a href="#"></a></s></li><li><b><a href="#"></a></b></li>
        <li><a href="<%linkurl("content","contact")%>">联系我们</a></li>
        <li class="scpst"><a href="<%linkurl("shopping","cart")%>"><strong class="shopcart ie6png">购物车</strong><span class="shopcartnum"><%write get_cart_quantity()%></span></a></li>
        <%if IsUserLogin()%>
        <li><a href="<%linkurl("usercenter","exit")%>">退出</a></li>
        <li><a href="<%linkurl("usercenter","index")%>">会员中心</a></li>
        <%else%>
        <li><a href="<%linkurl("register")%>">注册</a></li>
        <li><a href="<%linkurl("login")%>">登录</a></li>        
        <%/if%>
      </ul>
    </div>
  </div>
  <div class="searchbg">
    <div class="header_inner">
      <div class="search">
        <input id="keywords" name="keywords" class="seainput" type="text" x-webkit-speech="" autofocus="" placeholder="输入回车搜索" onkeydown="if(event.keyCode==13){SiteSearch('{config.webpath}search.aspx', '#keywords');return false};" />
        <input class="seasubmit" type="submit" value="搜索" onclick="SiteSearch('{config.webpath}search.aspx', '#keywords');" />
        <div class="hotkey">热门搜索：<a href="#">牛奶</a><a href="#">牛奶</a><a href="#">牛奶</a><a href="#">牛奶</a></div>
      </div>
      <h1 class="logo"><a title="{config.webname}" href="<%linkurl("index")%>">{config.webname}</a></h1>
    </div>
  </div>
  <div class="navbg ie6png">
    <div class="header_inner">
        <div class="allsell">
            <div class="title ie6png">商品分类</div>
            <ul class="list selectno">
                <%set (DataTable){category_listmenuhover}=get_category_child_list(2, 0)%>
                <%loop cdrmenuhover category_listmenuhover%>
                <li class='llast'><div class="tt"><a href="<%linkurl("goods_list",{cdrmenuhover[id]})%>">{cdrmenuhover[title]}</a></div></li>
               
                <div class="con">
                <div class="slist">
                 <%set (DataTable){category_list21}=get_category_child_list(2, {strtoint({cdrmenuhover[id]})})%>
                 <%loop cdr21 category_list21%>
                 <div class="tlist"><p class="sale_hot"> <a href="<%linkurl("goods_list",{cdr21[id]})%>">{cdr21[title]}</a> </p> 
                     <%set (DataTable){category_list31}=get_category_child_list(2, {strtoint({cdr21[id]})})%>
                     <%loop cdr31 category_list31%>
                         <a href="<%linkurl("goods_list",{cdr31[id]})%>">{cdr31[title]}</a> 
                     <%/loop%>
                 </div>
                 <%/loop%>


                  </div>
           </div>
                      
               
                <%/loop%>
            </ul>
         
        </div>
        <ul class="nav">
            <li id="top_link_home"><a href="<%linkurl("index")%>">首页</a></li>
            <%set (DataTable){category_listmenu}=get_category_child_list(2, 0)%>
            <%loop cdrmenu category_listmenu%>
            <li id="top_link_{cdrmenu[id]}"><a href="<%linkurl("goods_list",{cdrmenu[id]})%>">{cdrmenu[title]}</a></li>
            <%/loop%>
        </ul>
    </div>
  </div>
</div>